<template>
  <div class="car">
    <div class="totoal">
      <p>商品数量：{{ carShop.selectNum }}</p>
      <p>合计：{{ carShop.totalPrice }}</p>
    </div>
    <div class="pay">结算</div>
  </div>
</template>

<script setup>
import { useCarStore } from '../store/car';
const carShop = useCarStore()
</script>

<style lang="css" scoped>
.car{
  width: 1450px;
  padding: 50px;
  display: flex;
  justify-content: space-between;
}
</style>